package collectiondemo;

public class MainDemo4 {
    public static void main(String[] args) {
        java.util.Hashtable ht = new java.util.Hashtable();
        ht.put("1", "One");
        ht.put("2", "Two");
        ht.put("3", "Three");
        java.util.Enumeration e = ht.elements();
        while (e.hasMoreElements()) {
            System.out.println(e.nextElement());
        }
    }
}
